package com.dxb.yomall.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;

/**
 * Created by daixn on 2021/1/6 12:42
 */

@EnableFeignClients(basePackages = "com.dxb.yomall.product.fegin")
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.dxb.yomall.product.dao")
@EnableCaching
public class YomallProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(YomallProductApplication.class, args);
    }
}
